Elliminate flickering when calling mergeNewParams
Add scalgo cfg