changed index_sim_seq to use berkleydb instead of mongodb