Implemented max_cluster_size