Text this: A cubed-sphere based method for global and regional modeling of the lithospheric magnetic field