a bit of optimization of clusterizer