Handling sideband radiations in time-modulated arrays through particle swarm optimization