Added generation of pairwise constraints that are 100% reliable.