[chg] refactoring MemoryFragment