Add a distance check for selected voxels.