udpate for max velocity kernel - #17