add maximum distance for which there is data