replaced stack poping with slicing - first attempt to speed up Tarjan's SCC