fixed RepeatedLineUp
prefer straight segment paths even more