Energy- andN-averagings in the shell correction method