chunk lengths should be specified in hexidecimal