Fragmentation of relativistic heavy ions