Foster: Memorizing lines is 'least important part of acting'