add IsSizeValid