add TEncSearch and TEncRdCost