Apply slicing to ifr gains properly