[Engine.Analyze] Fix initialization of distance type (#4711)* [Engine.Analyze] Fix initialization of distance type* Rename option