Change ringbuffer to a linked-list as the overflow buffer