Removed 0-distance check in interchange distance calculation