a fast uniform random tree generator