fixed new_const ranges bug

the ranges in the new_const functions were wrong