allow bytes_required to be specified as a number for cases where it never changes