Given these caveats, this should be `unsafe fn resize`.