wouldn't that just handle dangles and not the case where the shortest segment may be between two other segments as in the case in the example of 10, 5, 15 that Tim used? Basically I can think of too many exceptions to a rule set, I don't suppose dissolving them then resplitting using positionAlong (ie 50% or something) would be any use.