Building a dynamic Task chunk-size