Fixed group generation, using ANN-kdtree, random sampling big groups