fixing issue #8 on  getEqInterval() method + simplify min/max methods