Enhancing the structural stability of LQ optimal controllers via the MCS adaptive algorithm