Add filesize check on regrid step