EXAMPLES
REFERENCE
Return the shortest distance in the supercell.
Calculate the shortest distance for each label.