Prepare intermediate QQ data