get similar pairs