HashMap now removes hash entries if there are no more keys available