Use maxSpeed for generation