int p_start = 0;  for (int i = 0; i < cont.size()-2; i++) { if (greedyCuts[i]) { num_tiles += refactor(p_start, i); p_start = i + 1; } }  num_tiles += refactor(p_start, cont.size()-1);  num_tiles += recombine_partitions();  System.out.println("pipeline FINAL num tiles: "+num_tiles);
    public int numberOfTiles() {	if (num_tiles > 0) return num_tiles; // check if we have precomputed	num_tiles = numberOfTiles(0, cont.size()-1);		//System.out.println("Pipeline (0,"+(cont.size()-1)+") Greedy Cuts:");	//for (int i = 0; i < cont.size()-1; i++) {	//    if (greedyCuts[i]) System.out.println("cut after: "+i);	//}	return num_tiles;    }