Create Largest Rectangle in Histogram (Bug)