msqc engine optimization