(feat) Restize function