don't be stupid in dijkstra