made simple dct 10 times faster