Heavy quark production in soft hadron collisions at superhigh energies