add search function binary
buf bug printf in collect.c
optimization search function of binary