int buffersize = CalcBufferSize.getConsBufSize(Layout.getNode(Layout.getTile(filter)));
    private JExpression bufferInitExp(SIRFilter filter, CType inputType)     {	int buffersize = 	    CalcBufferSize.getConsBufSize(Layout.getNode(Layout.getTile(filter)));	if (inputType.isArrayType()) {	    CType baseType = ((CArrayType)inputType).getBaseType();	    //create the array to hold the dims of the buffer	    JExpression baseTypeDims[] = ((CArrayType)inputType).getDims();	    JExpression[] dims =  new JExpression[baseTypeDims.length + 1];	    //the first dim is the buffersize	    dims[0] = new JIntLiteral(buffersize);	    //copy the dims for the basetype	    for (int i = 1; i < dims.length; i++)		dims[i] = baseTypeDims[i];	    	    return new JNewArrayExpression(null, baseType, dims, null);	}	else if (inputType.isClassType()) {	    Utils.fail("Structures not implemented");	}	//else basetype, create the array	JExpression dims[] = {new JIntLiteral(buffersize)};	return new JNewArrayExpression(null, inputType, dims, null);	    }