Auto resizing circbuffer