Distances to BGPS sources