Implemented Stencil Routing