improve a profile of backtrack