if (i == null) return 0;
    private static int nextPow2(Integer i, FlatNode node)     {	System.out.println(Namer.getName(node.contents) + " BufferSize = " + i);		//	return 1024;		String str = Integer.toBinaryString(i.intValue());	if  (str.indexOf('1') == -1)	    return 0;	int bit = str.length() - str.indexOf('1');	return (int)Math.pow(2, bit);    }