when rebuilding indexes, don't resize the hash tables

This cuts a major hot-spot in the code by about 50%.