finish GrahamScan