set minimum quant as 4 to avoid level code overflow
Merge pull request #865 from ruil2/enc_quant_v1.0

set minimum quant as 4 to avoid level code overflow