Rebuild structure in TreeComponentFactory