added maxmin cluster creation