swap start and end location in simulation