Made upsizing function, seems to work.