Change to O(R, p^n) notation.