I can't help but think that, if we were to attempt terraforming Mars or any other planet, the first thing we'd have to do is find a way to generate an Earth-like geomagnetic field to stop the solar wind from stripping away atmospheric water & oxygen (or in the case of low-grav planets like Mars, virtually the entire atmosphere altogether).