docs: private void increaseCapacity() {
      int newCapacity = (valueslength.capacity() == 0) ? DEFAULT_INIT_SIZE
          : valueslength.capacity() < 64 ? valueslength.capacity() * 2
              : valueslength.capacity() < 1024 ? valueslength.capacity() * 3 / 2
                  : valueslength.capacity() * 5 / 4;
  
      final ShortBuffer nv = ShortBuffer.allocate(newCapacity);
      valueslength.rewind();
      nv.put(valueslength);
      valueslength = nv;
    }