Working on marginal tree construction.