compare inner core and outer core