Inductance gradient approach in accelerator systems with massive rails.