tree: fix creating too big watchpoints