router optimizations