distance estimation with overlap graph