Size effect on the lattice parameters of nanoparticles