Scientists investigated how massive stars trigger formation of second-generation stars