dynamic size of convex shape