add judge Upper_Lower limit