Optimization of length measurements for isotropic distance transformations in three dimension