add up index.c and bloom_filter.c
small update: realign
make index array keep old data