change buffer size