Non-classical crystallization pathways of carbonate based minerals