Carbonating magnesia for soil stabilization