Largest Rectangle in  Histogram with prune