Decrease the size of the loop to get TargettedEntity