checking out the mysteries of resize()

Signed-off-by:  <st9fan@gmail.com>