velocities must be integers