tube: reuse history buffers, clean up buffer size