add boost::random sample