Sped up by doing away with PersistentPartition

Can decode by keeping track of which potential edges
mutually exclude each other.