Store core id instead of core ptr in chunks.