finding a chunk size