Effect of ocean gateways on the global ocean circulation in the late Oligocene and early Miocene