Finding convexity defects