ap=cpb0+cp-1b1++cp-qbq,