max rectangle and largest rectangle area
interleaving with dp