Addressing comments on queue based topological sort