bugfix : initialize weight
Print maximum weight
pretty print with box
print maximum weight