version before modify the input control matrix B