#94 changed distance coefficient