Fixed possible data corruption on FastByteBuffer capacity increase