Auto resize the appropriate size

or so I hope