a = 1024 * 4;
a = 12;
	public void setDoc(byte[] ba) {		int a;		XMLDoc = ba;		docOffset = offset = 0;		docLen = ba.length;		endOffset = docLen;		if (docLen <= 1024) {			a = 1024; //set the floor		} else if (docLen <= 1024 * 16 * 4) {			a = 2048;		} else if (docLen <= 1024 * 256) {			a = 1024 * 4;		} else {			a = 1 << 15;		}//		VTDBuffer = new FastLongBuffer(a);//		l1Buffer = new FastLongBuffer(128);//		l2Buffer = new FastLongBuffer(512);//		l3Buffer = new FastIntBuffer(2048);		VTDBuffer = new FastLongBuffer(a, ba.length >> (a+1));		l1Buffer = new FastLongBuffer(7);		l2Buffer = new FastLongBuffer(9);		l3Buffer = new FastIntBuffer(11);			vtdSize = l1Size = l2Size = l3Size = 0;	}