Reduce history size