matrix P Q
mergeeeee