polytope: use an adaptive routing approach

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
thorium: fix white spaces

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>