huffman: pass hnode_first as a flag instead of as an argument on its own