Draw Min Circumscribed Rectangles of Masks