modifed 2d_convex example
fixed 2d example