Implemented ok_map_rehash.