Bug Fix: Accessing unset value in last memory stream when its length is a multiple of BigMemoryStream.MEMORY_STREAM_MAX_SIZE