But then, if you let the script rerun until no more pairs are found eventually all roads will be combined :slight_smile:

But what to do when there are multiple combinations possible? How to distinguish between main road and branches?