Dev collisions

The issues was as I said that was used not centered points in algorithm