slight optimization by putting chosen route at top of rib