convertion from mm to slices now working