metaanal for metric space