Largest Rectangle in Histogram DP 2 Runtime Error