random primitive trees