I just changed it back to `str_repeat('x', ...)`. I also added `reservedMemorySize` in case you want to allocate different size.