Proper re-hashing of child nodes, made appropriate methods private