Fix #149, BTreeMap.subMap(...).keySet().iterator() slow

Unify map and submap iterators.