code: public int setMaxBlockSize(int size) {
      maxBlockSize = (size <= MAX_BLOCK_SIZE) ? size:MAX_BLOCK_SIZE;
      maxBlockSize = (maxBlockSize >= MIN_BLOCK_SIZE) ? maxBlockSize:MIN_BLOCK_SIZE;
      return maxBlockSize;
    }
docs: Set the maximum block size to use. If this value is out of a valid range,
  it will be set to the closest valid value. User must ensure that this
  value is set above or equal to the minimum block size.
  @param size maximum block size to use.
  @return actual size set