fixed a bug in compute_pairs with unpacking 'procs' during parallel loop