add view + number of reducers into threadTreeBuilder