[Moose-dev] Tarjan optimization