fix distance shape to mdmr