shortest() and smallest()