some comments in dct.cpp