StreamTransform st = traceback(partitions, curPartition, 0, A.length, 0, A[0][0].length, tileLimit);
StreamTransform st = traceback(partitions, curPartition, 0, A.length-1, 0, A[0][0].length-1, tileLimit);
    public StreamTransform traceback(LinkedList partitions, PartitionRecord curPartition, int tileLimit) {	StreamTransform st = traceback(partitions, curPartition, 0, A.length, 0, A[0][0].length, tileLimit);	// if the whole container is assigned to one tile, record it	// as such.	if (tileLimit==1) {	    curPartition.add(cont);	} 	return st;    }