What if data is empty and maxs is empty too?