snp_distance fitness method