Replaced String.length with byte_size