why not just make `Math.random() * 0xffffffff | 0` a function ... newer js engines will inline them if needed