FFT using rectangles instead of lines