1. A method for storing a variable length code table in a memory, said method comprising: (a) calculating a value for each of at least one levels of a binary tree; (b) comparing the value for each of the at least one levels of the binary tree to a threshold; and (c) generating at least one new binary tree from a particular one of the at least one levels, if the threshold exceeds the value for the particular one of the at least one levels.