Tree and backtracks