Enclosing a set of objects by two minimum area rectangles