Hi, I have the same script, but when running it with many more nodes, I get a segmentation fault. Is there a way to increase the memory allocated by NS? if this is the problem? Emad