Update resize to only allow n in [1,100]