Implementation of maximum altitude choice