Shortest-Distance-Calculations