Remarks on the nuclear shell-correction method