if (FusionState.getFusionState(node.edges[0]).getPeekBufferSize() != 0) {
if (FusionState.getFusionState(node.edges[0]).getRemaining(node, true) > 0) {
    private boolean setNecessary()     {	if (node.isDuplicateSplitter() && node.ways > 0) {	    //check that all the down stream buffersize are equal for both init and steady, 	    //there is no peek buffer for immediate downstream 	    int bufferSizeSteady = FusionState.getFusionState(node.edges[0]).getBufferSize(node, false);	    int bufferSizeInit = FusionState.getFusionState(node.edges[0]).getBufferSize(node, true);	    //make sure that the downstream buffersizes equal the buffer size incoming to this splitter	    if (this.getBufferSize(null, true) !=  bufferSizeInit) {		//System.out.println("Splitter buffer size not equal to downstream buffersize (init)");		return true;	    }	    if (this.getBufferSize(null, false) !=  bufferSizeSteady) {		//System.out.println("Splitter buffer size not equal to downstream buffersize (steady) " + 		return true;	    }	    //make sure that we have a filter	    if (!node.edges[0].isFilter()) {		//System.out.println("Downstream not filter");		return true;	    }	    if (FusionState.getFusionState(node.edges[0]).getPeekBufferSize() != 0) {		//System.out.println("Downstream peek buffer > 0");		return true;	    }	    	    for (int i = 1; i < node.ways; i++) {		//make sure that there is a filter connected		if (!node.edges[i].isFilter()) {		    //System.out.println("Downstream not filter");		    return true;		}		//check the peek buffer, it must be zero		if (FusionState.getFusionState(node.edges[0]).getPeekBufferSize() != 0) {		    //System.out.println("Downstream peek buffer > 0");		    return true;		}		//if all buffer size's are equal, good		if (bufferSizeSteady != FusionState.getFusionState(node.edges[i]).getBufferSize(node, false)) {		    //System.out.println("Unequal buffer sizes of children (steady)");		    return true;		}		if (bufferSizeInit != FusionState.getFusionState(node.edges[i]).getBufferSize(node, true)) {		    //System.out.println("Unequal buffer sizes of children (init)");		    return true;		}			    }	    //got here, so everything passed! it is not true that this splitter needs to be generated	    return false;	}   	//not a duplicate splitter	return true;    }