correction to the gradient in the convex hull