Carbonate precipitation for heavy metals pollutants