code: private KdTree.Node createLeaf(List<P> points , GrowQueue_I32 indexes ) {
  		int index = indexes == null ? -1 : indexes.get(0);
  		return memory.requestNode(points.get(0),index);
  	}
docs: Convenient function for creating a leaf node