Trim the core first