Passing in a buffersize argument to the constructor