Wrap object iteration idiom
Combine Station iteration loops
Wrap segment iteration idiom
Fix non-debug build with -Wtype-limits