profile iterative diagonalziation