What are the problems of Dijkstra's algorithm?