autosize works