compare lenght: add min and max value/entity