Binary Tree worker