Scale down buffer size to 256(1024 is too large)