qr coarse grained opt