https://hgpu.org/?p=2924
Accelerating the Stochastic Simulation Algorithm