Modify tree pattern (again)