Create multiple beams in one loop

create multiple particle components dynamically from that forloop. store their references in some array.