Convert to ring buffer strategy. Dubious around MAX_HISTORY boundaries.