Better optimization of Hermitian case.