removed hard coded 0.1 speed for high curvatures