A new prescription for determining particle-hole interactions near closed shells