Fixed dithering algorithm