change bufferSize