Inlined scoring_function::o()
Replaced type_pair_index by p_offset in interacting_pair