Dynamical effects in the formation of magic cluster structures