fixed 2GiB size limit bug