setting up curand once per entire run, not once per chain