init source tree in work thread