A Formula for the Level Sets of EPI-Limits and Some Applications