[Algorithm] setup Dijkstra