added min/max and forced the approximation (TODO: add as parameter)