improve tree iterator struct and add signature for a function that can create an iterator

(0) -300 -100 -30 -10 -1 +1 +10 +30 tip

mercurial