fill buffers in chunks