Investigations of the recovery of the phonon density of states from specific heat: numerical study