I have code that generates a CSR sparse matrix by reading multiple parquet files in parallel, preprocessing the data, then finally acquiring a mutex to sequentially write in