switch to 32 bit DWT coefficients; take the performance hit :(