package_by_layer