working quad tree for points, lines and rects