Fix distance travelled in the sim