Added SetLocalFactor(), added a variable to track load factor, and updated resize() to take into account variable load factor