Plus: assertions in RSharingAttributeStorage and removed unnecessary code from WriteIndexedVectorNode.