implement setSideSize