That's pretty embarassing...
Minor cleanup
Fixed stack overflow by lowering chunk size to 1MB