trying to make sampling faster
faster demo