line support for pdist