add nhap to LDmatrix