Jupiter and Saturns growth and migration: the effect on planetesimals