second approach to slabfft parallelization