System.out.println("Setting upstream rotation length " + length);
    private static void setRotationLength(SpaceTimeSchedule spaceTimeSchedule, InterTraceBuffer buffer) {        int sourceMult = spaceTimeSchedule.getPrimePumpMult(buffer.getSource().getParent());        int destMult = spaceTimeSchedule.getPrimePumpMult(buffer.getDest().getParent());        //fix for file readers and writers!!!!                int length = 0;                //if we have either of these cases we are not rotating this buffer        //and it a probably a buffer that will never be generated because it is        //a connected to a file reader or a file writer...        if (sourceMult < destMult || sourceMult == destMult)            length = 1;        else             length = sourceMult - destMult + 1;               buffer.rotationLength = length;                System.out.println("Setting rotation length: " + buffer + " " + length);                //this is buffer is redundant, meaning it is just a copy of its its upstream         //output trace node, then we have to set the rotation for its upstream        //output trace node!!        if (length > 1 && buffer.redundant()) {            System.out.println("Setting upstream rotation length " + length);            IntraTraceBuffer upstream = IntraTraceBuffer.getBuffer((FilterTraceNode)buffer.source.getPrevious(),                     (OutputTraceNode)buffer.source);            upstream.rotationLength = length;        }    }