print maxWeight