Optimized divide by two with right shift.