fixed hashmap_rehash bug, ncfree used new size instead of old size -_- (finally ..)