Removed superflous call to EnsureBufferSize