an acceppted but not effecient enough version for maximal rectangle.