computing coords_by_id and node trees from nearest neighbors for 2nd NN vis. still need to do multi-layer coord propagation