2dp-P2NFFT: serial code works for non-cubic boxes