new window shifting method and bug with detecting snps