Equalize histogram