Add index vector for edge_map_backward. Reverse BFS works.