A new approach to design flexible magnetic active shielding