change depth metrics query to avoid 4s crash