added garbage collection on huffman trie dll