avoid stack overflows on very large ASM genotypes