#6 Functional resize (with errors)