fixed Floyd-Steinberg dithering