[packaging] changing tree structure