Keep values while walking the tree