allow for multiple hits in _replace_mul_fpowxgpow