Momentum dependence of effective Coulomb interaction in the magnetism of nickel