code: private void expandArray(int maxSize)
      {
          int curSize = getBaseArraySize();
          if (curSize > maxSize)
          {
              return;
          }
          if (maxSize >= LEAF_BIT)
          {
              throw new RuntimeException("Double Array Trie size exceeds absolute threshold");
          }
          for (int i = curSize; i <= maxSize; ++i)
          {
              this.base.append(0);
              this.check.append(0);
              addFreeLink(i);
          }
      }
docs: 动态数组扩容
  
  @param maxSize 需要的容量