working on collision detection with objects and subdivide algorithm