ep_loop_check_proc
result = max(result, ep_loop_check_proc(ep_tovisit, depth + 1) + 1);
depth = ep_loop_check_proc(to, 0);