Add Largest Rectangle in Histogram problem