tune the backtracking tree