Add resize operation

Change-Id: I6935082d22f04bea92d9610c265c40b8b100ee9d