remove `const` because `constructNewNodesArray()` changed node index