Partial matrix sum#683