Fixed recursive stack in Strongly Connected Components algorithm