Representation of Kd-tree data structure for points on the plane