prepare router for runtree