bottom up tree level visit