dynamic installed size calculation. other gen.package.sh scripts should be updated accordingly
up