The production of dense lead-ion beams for the CERN LHC