add XZ compression & optimization for size