make distance-to optional when computing descriptors