Minimizing edge length to connect sparsely sampled unstructured point sets