I think this whole line could be removed entirely and we'd get the desired effect, since `getByteSize` already has working logic for this.