Limit the number of printed bytes while printing matching strings