Refining treewalker