linear time collision solver

MUTHA FUKKA!!!