the code is ready to parallelize on cpu