Added rectangular dct penalities.