Updates possibleCollision function.
Compute index for each corner of the boundingbox to get objects for all
cells the boundingbox overlaps.