Combine pecans, flour, margarine. Press into 9x13 pan, bake at 350 for 20 minutes. Combine cream cheese with icing sugar and spread on cool base. Cover with half of cool whip. Cover with mixed puddings. Cover with rest of cool whip, and sprinkle grated chocolate on top.