Wrote memory_hierarchy