calculate changing of x-dimension velocities