int lookedAt = num * filter.getPopInt() + filter.getPeekInt() - filter.getPopInt();
int lookedAt = num * filter.getPopInt() + peekBufferSize;
    private static JVariableDefinition makePopBuffer(SIRFilter filter, 						     int num,						     int pos) {	// get the number of items looked at in an execution round	int lookedAt = num * filter.getPopInt() + 	    filter.getPeekInt() - filter.getPopInt();	// make an initializer to make a buffer of extent <lookedAt>	JExpression[] dims = { new JIntLiteral(null, lookedAt) };	JExpression initializer = 	    new JNewArrayExpression(null,				    voidToInt(filter.getInputType()),				    dims,				    null);	// make a buffer for all the items looked at in a round	return new JVariableDefinition(null,				       at.dms.kjc.Constants.ACC_FINAL,				       new CArrayType(voidToInt(filter.						      getInputType()), 						      1 /* dimension */ ),				       POP_BUFFER_NAME + "_" + pos,				       initializer);    }