closest equal pair