add bytesize validation.
add validation.