enabling dynamic package weight calculation