Modeling lattice expansion and cohesive energy of nanostructured materials