shortest-path impl