correct largest rectangle histogram error