finished topological sort?