bugfix: max velocity.