config chunk size at runtime