Added new rectangular ROI constructor
Changed internal store of max/min positions to use positions instead of
indexes