define resample_rng_type in Particle