Thickness Effect on Fluctuation of Electron States in Thin Film and Implication to Lattice Constant Change Due to Size Reduction