Circular buffer work.