Rewrite Node._message_to_parent to consume less memory and fine tune the related unit test.
Rewrite utils.sum_multiply and add some tests for it