move end to last snp