complete distance