semi polyfill for Math.imul