random Bernstein polynomials