final check with Parseval's theorem