Improve make_mag_limit_maps
Mostly finished make_mag_limit_maps