Working on histogram, invert