Allows you to set a chunk size based off of number of elements