add largest recangle in histogram O(n)