BP: removing the difference between BPFactorSumProduct and BPFactorMaxProduct