changed named of size function in node.c to avoid collision with segment size function