Slightly better performing resize