main: limit speed to sane values