adding an optimized class to compute II curvature on many alpha with a 2D shape