cleanup of the DCI dijkstra algorithm