drop root when building changes treemap