Magnesium carbonate ionic structure