//System.out.println("N clusters before splitting: "+nClustersBeforeSplitting);
//System.out.println("New clusters: "+nPieces);
//System.out.println("Reassignment table: "+IntArrays.toString(reassign));
// assignment
IDiscretization assignment = this.clusterMethodLeaves.getClusterAssignment();
IDataSequence centers = this.clusterMethodLeaves.getClusterCenters();
IIntArray micro2macroLeaf = cluster.discretize(subset, assignment);
// update global assignment
for (int i=0; i<leaf.indexes.size(); i++)
{