fix Huffman shaped wavelet tree generation by adding a padding zero bit at the end of each dictionary as required by the rankm functions