implemented UNIFORM COST ZEARCH