added DoubleMidwayFinder and IntegerMidwayFinder