fixed problem with IS_INT_IN_RANGE for large numbers