here, your offset and size are `int` while in lines 93-94, you use  `size_t`