Production of intermediate mass fragments in ultrarelativistic nuclear collisions