partial INDC, need to fix logsumexp