Svag matchende rim for lexicographic code