Optimizations to collision checking where some entities would be checking for collisions against themself