Current Dijkstra implementation is very slow. I tried running it on graph which contains ~100 edges and it ran ~1s. Other implementations are 100x faster.