[PATCH RFC/RFT 1/6] MCPM: move the algorithmic complexity to the core code