algo4: stack: Largest rectangle in histogram