add maximal Rectangle

Signed-off-by: WanBin <ouyangwanbin@gmail.com>