optimized func (this *transpose) mid_point(mid []int) (int, int)