Hi, I am sorry, in my recent replies there was an incorrect definition of bands number, nbnd. Actually, by deafult nbnd is defined as the largest of two numbers: nbnd=amax(nelec*(1+0.2)/2, nelec/2+4)) Bests, Eyvaz. __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com