[API] full functionality moved to template class GridClustering