in-place resize

Circuit