first step to a distance rule.
it does not really match production:
from: 1001 1006
to: 1073 1073
segments: 187000
segments: 359000
segments: 345000

vs. internet:
distance:6000, tisp_ids:[1001, [], 1008]
distance:5000, tisp_ids:[1008, [], 1011]
distance:179000, tisp_ids:[1011, [1032], 1073]