Factored out dimension. Added locations to boundaries in RectangularRegion