resize buffers easier