converting stack into a metapackage