Though an already-existing leak or crack in the pipe often causes a root invasion in the sewer lines, removing the trees from the surrounding area after replacing or repairing the pipe is always beneficial. It ensures that the same problem will not arise in the future.