Hierarchical flight planner