removed unuseful pairwise_diff_reversed