Allow the specification of the buffer size