beginnings of a specific-kd-tree structure - not actually called yet!