Repairing 3D binary images using the FCC grid