Create findMiddleElement in One Pass