optimized altitude trigger