update

Fixed defect with incorrect tree weighting.