language changes: HashMap::find_or_insert_with is deprecated; fixed a stupid mistake while replacing Vec::grow_set.