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