A dual-scale inversion algorithm for surface consistent statics