improving performance of Cluster.updateClusterStats()