threads and chunksize fully integrated - osom