correction extendedDijkstra first round solvePTG