origin floydsteinbergDither algorithm
my own method