debug logging
fixed rounding error when comparing pixels
fixed stability issue in BlocksIT
added count condition
added count condition and toString() methods