code: private void calculateSegmentSize()
    {
      DatabaseKelp db = _table.database();
      
      _segmentSizeNew = calculateSegmentSize(db.getSegmentSizeFactorNew(),
                                             _segmentSizeNew);
      
      _segmentSizeGc = calculateSegmentSize(db.getSegmentSizeFactorGc(),
                                            _segmentSizeGc);
    }
docs: Calculates the dynamic segment size based on the current table size.
  
  Small tables use small segments and large tables use large segments
  to improve efficiency. A small table will have about 5 active segments
  because of GC, which means a table with 64k live entries will still use
  5 * minSegmentSize.
  
  new segments: 1/64 of total table size
  gc segments: 1/8 of total table size