Tarjan's algorithm causes SEGFAULT due to call stack overflow