optimized tuple<int, int> transpose::mid_point(vector<int>& mid)