moved the uncertain image distances here from diffeoplan