Coalescing of geostrophic vortices