PoC for the resize mode