Instead of using a fixed number, try using a random or incremental number on each GenerateMesh_NSMeshMerge(…) call.
If that doesn’t work and you’re willing to send us a minimal reproduction and the modified plugin, we can take a look. Let me know if that’s the case, and we’ll make the question private.
Pere