implemented mincluster