Reduced memory usage in expandCluster