Global distribution and migration of subsurface ice on mars