* Refactored cell colision detection