routing engine for SW3.3 software package implementing routines for sampling and routing