half-implemented the voxel removal function