add bsp packing