Algorithm for distance list extraction from pair distribution functions.