add easyAlgoEditor optimization