https://en.wikibooks.org/wiki/Algorithm_Implementation/Geometry/Convex_hull/Monotone_chain here i play with it: Andrew's monotone chain algorithm ,
better Path around a perimeter ,