Dijkstra UD and D work