support compact feature for QR decomposition