refactored DijkstraGraphFiller