add unit to size of encoded value