Tune history max (500)

bench: 8041902