Working on marginal tree generation.