refine resize feature