STEPGEN_MAXVEL patch

Signed-off-by: Russell Brown <russell@lls.lls.com>