Force blocks between 4k gaps; check masks for every combination of genotypes; various bug fixes to improve edge detection