Effect of Interionic Distance on the Ligand Field in NiO