slicing in //

Minor edit to enable the slicing to be performed in multithread (if openmp is available for the compiler)