patches entire root in one go
added chunk size argument
Merge pull request #1 from firebase/speed

Speed