enable bufferSize customization