code: func newHuffmanTree() huffmanTree {
  	freqs := make([]int, len(fieldPathTable))
  	for i, op := range fieldPathTable {
  		freqs[i] = op.weight
  	}
  	return buildHuffmanTree(freqs)
  }
docs: // newHuffmanTree creates a new huffmanTree from the field path table