better dijkstra queue