MAV minimum end time

Calculate minimum end time