update largest-rectangle-in-histogram