South African towns shaped by borders