First attenmpt at averaging shortest distance in a list of links.