[Stack] Largest rectangle solution.