Added function for extending hash maps when they're full.