Using BTreeMap instead of TreeMap.

TreeMap was moved to the experimental collect package. Let's just use it from there.