Multiply modulo overflow fix