dijkstra-list works now