Origin of quasi-periodic shells in dust forming AGB winds