subset convex computation