Split speed limits on links with varying geometry running order

Extract into function