Replace depth count with loop detector