Set maximum recursion depth for the network simulation script