max_size -> min_size + format