Support for nested children and overflow in childrenSize

This codebase mostly uses named functions, so stick to that when not looping recursively e.g. storeNodeRect should be a variable to avoid memory-leaks.