correct multiplier algorith