Bringing in (at the moment) slower collision detection algo from tano