= core: introduce fastMod operation in Sampler