maximum velocity and acceleration