Fixed a bug where the code would seg fault if some processes didn't contribute to the fft