set minimum quant as 4 to avoid level code overflow
Merge pull request #864 from ruil2/enc_quant

set minimum quant as 4 to avoid level code overflow