coarsen code should be done?