- compute distances to fixed locations