DDIM incorrect

The denoising seems to be incorrect. The last generated set of images is more noisy than the second-to-last and third-to-last images.

For reference, see this image where each row corresponds to a sampling step of DDIM. It can clearly be seen that the last row is worse than the two rows before.