I am trying to simluate the substitution(addition followed by removal or vice versa) of nodes in Peersim. The simulator provides a substitute parameter that does the same job. The simulator works fine when the add parameter is set to -1(This causes only one node to be removed first and then a new node is added into the network). However, if I try to change the value of add and make it say -15 or -20 (to check the addition and removal of multiple nodes) the simulator gets hanged. Please provide a solution.