Issue #79: tree modeling