Long lasting chest discomfort

Does anyone experience upper chest pain (sternum area) after longer freestyle workouts; 3+ miles or nearing 2 hours of lap swimming? I’ve been experiencing this for a couple of months now as my workout distance has increased.  I’m wondering if I am expanding my chest too much; too great of an inhalation & am creating soreness?