use 0 as maxnalsize default value.
Merge pull request #880 from ruil2/enc_quant

use 0 as maxnalsize default value.