Add buffer history limit.