report; tree structure creation fix
fix piecewise tree structure creation