idct works fine