logic to handle choosing arm with fewer collisions