Switch from acceleration to deceleration if mid stroke speed not reached