Optimize the constant multiplier instructions