Remove unused code in BTreeMap