Compact tree of David Huffman