The SCC code have stack over issue since I have not find a way to fix it. R have physical limit for deep recursion.Even though I set up the recursion depth to maximum, the SCC algorithm still hit limits. If anyone knows a solution, please feel free to contact me!!