Circular buffer | Minimal stylistic refactor