using multicore for creating sets of trees R