simplify source tree