switch from undirected_dfs to depth_first_visit for delay calculation - evaluates only nodes reachable from start vertex