simplify numeric tree nodes