Dynamic branch elimination algorithm for topological design of PTN mesh networks: Dynamic branch elimination algorithm for topological design of PTN mesh networks