Finish MCC encoding by encoding the stateStream with Huffman coding (maybe arithmetic coding in the future).