pub type BoolsWithPosPairs<T> = HashMap<PosPair<T>, bool>;