optimize IDCT of rows with mostly zero coefficients