find min and max for all variables