added dynamic quadtick calculation and fixed a bug in circletest where bullet destroyed root element