bugfix for set() method (pw, dw); new option to set custom fft grids.