Stability of atoms and molecules in an ultrarelativistic Thomas-Fermi-Weizsäcker model