Fix bug in geodesic reconstruction by erosion for 3D float images