Molecular effect on interatomic potentials