fix: pLength in completeReduceFac (from master)