Optimize the surface voxelization