The Mass Spectrum of Ultra High Energy Cosmic Rays