first rejection sampler