h2::distance() fix