better dijkstra queue
better dijkstra queue