Svag matchende rim for allocation routine