Added edited ECF.

Each primitive now stores maximal and minimal value it can get.