reduce buffer size to 1M