The degree of acceptable MRI image distortion that is acceptable or suitable in a given circumstance may vary depending on the location of the device implantation and other factors, and the amount of shimming material added to the device should be selected such that it is adequate to provide a suitably small amount of image distortion under the circumstances.