add thread binary tree