pair finding for association analysis