with kdtree
genotype analysis