private void checkEnoughCapacity(int number) {
		if (array.length - currentSize < number) {
			changeCapacityBy(array.length);
		} else if (currentSize < array.length / 4    &&    array.length / 2 > INITIAL_CAPACITY) {
			changeCapacityBy(-array.length / 2);
		}
	}