added soft convexity measure