add independents for TopologicalSort