Add the delta into the output
Fix mistake of not using calculated convexity