compute neta nphii by ourselves