recursive Collisoncheck