Moved duplicated code in NewArrayNodeSet and ExtArrayNodeSet into
AbstractArrayNodeSet