ENG-4625: use one NValue instead of keeping track of both min and max.