collision and qTree almost work