Given a

binary matrix. Please output the size of second large rectangle containing all

.
Containing all

means that the entries of the rectangle are all

.
A rectangle can be defined as four integers

where

and

. Then, the rectangle is composed of all the cell (x, y) where

and

. If all of the cell in the rectangle is

, this is a valid rectangle.
Please find out the size of the second largest rectangle, two rectangles are different if exists a cell belonged to one of them but not belonged to the other.