building ShareMemory is finshed