groundwork for dynamic max-z based on current speed