change box to a lighter version based on packages