space for vertices has been reduced, and bugs in topological sorting have been fixed
space for vertices has been reduced, and bugs in topological sorting have been fixed