making the final hull by traversing points from up to low of given convex hull .
int curr = up ; ret . push_back ( a [ curr ] ) ; while ( curr != low ) { curr = ( curr + 1 ) % n ; ret . push_back ( a [ curr ] ) ; }