On the Radial Dependence of the Shell-Model Potential