set minimum quant as 4 to avoid level code overflow

same with #864 pull request