Adjusts timing in calcdist so that the distance is represented at the middle of the time interval