Fixed chunking issue, now we can handle output datasets>4GB