Change level to be within input range