Replace polyboom array with vector, remove BoomCount
Remove duplicated flag check
Use integer range random generator