New sampling algorithm, on the way for bootstrapping