Node-level self-adaptive network path restructuring technique for internet of things (IoT)