The code before did actually unpack the size, I think, but it wasn't very clear, and it's better to do it explicitly