change size= -> max=