Use macro to limit chunk size