added benchmark for original build_huffman_table
removed unneccessary copy when building huffman table
pass prefix by reference when building huffman table

pass prefix by reference to increase performance. prefix must now be
provided at the call site.