Text this: Optimal designs for pairwise calculation