1. A method, comprising: determining, by a routing topology determination process in a memory of a network device in a shared-media communication network including a plurality of network devices, a first directed acyclic graph (DAG) topology in the shared-media communication network, the first DAG topology having a particular direction; determining, by the routing topology determination process in a memory of the network device, a second DAG topology in the shared-media communication network based on the first DAG topology, the second DAG topology sharing the particular direction of the first DAG topology, to prevent loops between the first and the second DAG topologies, wherein the first DAG topology emphasizes link stability and the second DAG topology emphasizes reduced hop count and determining the first DAG topology and the second DAG topology comprises: building the first DAG topology by considering only next-hop routes that provide a link margin above a predetermined threshold constraint; and building the second DAG topology by considering next-hop routes with a relaxed link margin constraint, wherein the relaxed link margin constraint increases connectivity and simultaneously decreases link stability within the shared-media communication network.