Safe flight corridor generation