Finding Convex Hull of a shape