implement change size