Rename max_size to max_node_size for clarity
Extract util functions
Remove unnecesary serialize_length function
Remove unused variable
Hide warning
Restore tests