you can just do `new Uint8Array(newCapacity)`