Do we need to splice the arrays here? Can we add to the offset of the call to `set` and the index of the for loop?