scale and move the mask following points.