Naive kd-tree insertion