using config values for the token size