code: protected KdTree.Node computeChild(List<P> points , GrowQueue_I32 indexes )
  	{
  		if( points.size() == 0 )
  			return null;
  		if( points.size() == 1 ) {
  			return createLeaf(points,indexes);
  		} else {
  			return computeBranch(points,indexes);
  		}
  	}
docs: Creates a child by checking to see if it is a leaf or branch.