What Two Things Affect Lattice Energy