store and use actual chunk size instead of assuming default