Moved from sequence fixing to partition fixing.
Generalized method parameters from BitSet to Set[Int].