Svag matchende rim for photo semiconductor