algo4: stack: Maximal rectangle