factored acceleration and decceleration cod in speed planner