remove roots i.e., branch = 0