Fix incorrect length shifting for encodes
Update
Version bump