int[] partitions = { cutPos + 1 };
int[] partitions = { cutPos + 1, sj.size() - cutPos - 1};
    public SIRStream doMyTransform(SIRStream str) {	// add one because of indexing convention in partitiongroup	int[] partitions = { cutPos + 1 };	PartitionGroup group = PartitionGroup.createFromArray(partitions);		if (str instanceof SIRSplitJoin) {	    RefactorSplitJoin.addHierarchicalChildren((SIRSplitJoin)str, group);	} else if (str instanceof SIRPipeline) {	    RefactorPipeline.addHierarchicalChildren((SIRPipeline)str, group);	} else {	    Utils.fail("Only support vertical cuts on SplitJoins and Pipelines, but got: " + str);	}	return str;    }