stack; variation of biggest rectangle in histogram