Reanalyze our algorithm for the case in which
all the components are of the same size
(but you don't know the size). Next (this
should be easy),
extend the above to work when all components
are of a size that is within a factor of two
of each other.
next hint