Stability and lattice contraction of small platinum particles