Paralelization with 4 cores