The Primordial black hole mass spectrum