Booksim implementation of the NSFTR routing algorithm.