Svag matchende rim for magnetic potential