Assigns max/min values when default value is integer