B-7 (nextperm) using factoradic / Lehmer code. Still too slow for PCMS2.