Svag matchende rim for magnitude comparator