Add nVecCells to SM and update SM partitioning.