Turn the tree into the map that can be used in encoding
( height: u32, path: u64, node: &HuffmanNode<T>, map: &mut BTreeMap<T, HuffmanValue>, )
source not stored for this graph (policy: none)
nothing calls this directly
no test coverage detected