added the extraction of the outside surface of the voxels