Soft Coulomb hole method applied to molecules