added color normalize an greyscale blocks