bug fix: sometimes we want the smallest RectI enclosing a RectD, sometimes we want the largest RectI enclosed in a RectI. RegionsOfInterest were wrong