fix autocomp overflow. fixes #22
Merge pull request #23 from mychris/master

fix autocomp overflow. fixes #22

Thanks, that looks good.