code: public ArrayList<MemorySegment> resetOverflowBuckets() {
  		this.numOverflowSegments = 0;
  		this.nextOverflowBucket = 0;
  		
  		ArrayList<MemorySegment> result = new ArrayList<MemorySegment>(this.overflowSegments.length);
  		for(int i = 0; i < this.overflowSegments.length; i++) {
  			if(this.overflowSegments[i] != null) {
  				result.add(this.overflowSegments[i]);
  			}
  		}
  		this.overflowSegments = new MemorySegment[2];
  		return result;
  	}
docs: resets overflow bucket counters and returns freed memory and should only be used for resizing
  
  @return freed memory segments