added topMaxSpeed Contraint