Repair Pairwise computation