added trueSizeCheck flag