Integrated unstable panel factorization into 2D QR