add comments for partialMultiply