Building a control sample for galaxy pairs