Reworked flight segment-maker.

Added support for constante hairpins.