Add an option to do ER before support calculation