buffersize configurable