optimized edge routing