Added variable-bit lookup table support