reduce buffer size