separate det_hermitian() into 2 pieces
task done