optimize TreeNode.contains (inline, prevent function allocation)
update README