huffman: any modification in calculate