int size = Math.max(getMult(dst,true), getMult(dst,false)) * f.getPopInt(); if (f instanceof SIRTwoStageFilter) {    SIRTwoStageFilter t = (SIRTwoStageFilter)f; size = Math.max(size, t.getInitPopInt()); }
int size = Math.max(initSize, steadySize);
    static private int sizeFilter(FlatNode src, FlatNode dst) {        SIRFilter f = (SIRFilter)dst.contents;        // the maximum number of items popped in init or steady phases        int size = Math.max(getMult(dst,true), getMult(dst,false))                     * f.getPopInt();        if (f instanceof SIRTwoStageFilter) {            // if f is a two stage filter, it is possible that             // the single execution of prework will pop more than            // init or steady phases.            SIRTwoStageFilter t = (SIRTwoStageFilter)f;            size = Math.max(size, t.getInitPopInt());         }        return size + leftoveritems(src,dst);    }