Allow configuring the history size. Larger history == more 'accurate sampling'.