Set history max at 16000

bench: 3967439