Made an attempt at handling dot collisions with each other.