code: public EnvironmentConfig setTreeMaxPageSize(final int pageSize) throws InvalidSettingException {
          if (pageSize < 16 || pageSize > 1024) {
              throw new InvalidSettingException("Invalid tree page size: " + pageSize);
          }
          return setSetting(TREE_MAX_PAGE_SIZE, pageSize);
      }
docs: Sets the maximum size of page of B+Tree. Default value is {@code 128}. Only sizes in the range [16..1024]
  are accepted.
  <p>Mutable at runtime: yes
  
  @param pageSize maximum size of page of B+Tree
  @return this {@code EnvironmentConfig} instance
  @throws InvalidSettingException page size is not in the range [16..1024]