add default sumofm
impl sum-of-mult