Fixed bug in which if S[1] < S[0] + 1e-6, querying the FFT grid fails.