Histogram analysis during letter check