only make one buffer fit into the ringbuffer