Avoid rounding error in (x,y) of car calculation