Handle special case for convex hull
Add tic/toc to show execute time
Modify related code for speeding up