System.out.println("Fusing " + (end-start+1) + " filters!");
System.err.println("Fusing " + (end-start+1) + " filters!");
    public static void fuse(SIRPipeline pipe) {	int start = 0;	do {	    // find start of candidate stretch for fusion	    while (start < pipe.size()-1 && !isFusable(pipe.get(start))) {		start++;	    }	    // find end of candidate stretch for fusion	    int end = start;	    while ((end+1) < pipe.size() && isFusable(pipe.get(end+1))) {		end++;	    }	    // if we found anything to fuse	    if (end > start) {		fuse(pipe, 		     (SIRFilter)pipe.get(start),		     (SIRFilter)pipe.get(end));		System.out.println("Fusing " + (end-start+1) + " filters!");	    }	    start = end + 1;	} while (start < pipe.size()-1);    }