Mix together flour, margarine and nuts. Press into a long cake pan and bake at 375'F for 30 minutes. Cool. Mix 1 container Cool Whip, cream cheese, sugar and vanilla until smooth and creamy. Spread over crust and refrigerate until cooled. Spread prepared chocolate pudding over pie. Cover with 1 container Cool Whip. Chill.