mid-halving