Complex sentence: It passes through the middle of the Pacific Ocean, roughly following the 180 ° longitude but it deviates to pass around some territories and island groups.
Split into simpler sentences: It passes through the middle of the Pacific Ocean, its path roughly following the 180 ° longitude. However, it deviates to pass around some territories and island groups.