add missing size definitions for min_weight max_weight.