add leaf attributes
half way decision tree
support pessimistic error estimate