finish kosaraju