Svag matchende rim for main memory assignment