fixed new_const ranges bug
Merge pull request #3 from kuk0/master

fixed new_const ranges bug