clean up write_leave() and write_overflow() and write_parent_node_tree() and move them out of create_segment()
clean up write_leave() and write_overflow() and write_parent_node_tree() and move them out of create_segment()

zumero/Elmo,zumero/Elmo