Topo sort completed.