avoid calling delegates even in outer cycles, branch early, statically