completing tree router