I'm running into a case where insertIdx1 is resolved to -1, which leads to stopIdx, copyLen and parentIdx being -1. IndexOutOfRangeException is thrown at connArr[childIdx] = newConnArr[newConIdx];
newConnArr:
0,14
8,0
newWeightArr:
-0.4854858
1
parentConnArr:
0,14
4,14
8,14
13,14
parentWeightArr:
-4.0975833
-3.7439632
-0.4854858
0.24271071