Genesis of metamorphic core complex