added MinPerimeterRectangle