Mesoscience based on the EMMS principle of compromise in competition