protected void ensureSpaceFor(int entries) {
		if(entries < buf.length)
			return;

		int newCap = entries;
		if(initialCapacity > (newCap/2)) {
			newCap += initialCapacity;
		} else {
			newCap += (newCap/2);
		}
		_reallocate(newCap);
	}