algo4: stack: maximal_rectangle_in_2d_matrix: Revisited